#include<stdio.h>

void print_day(int day)
{
	switch (day) {
		case 1:
			printf("Monday\n");
			break;
		case 2:
			printf("Tuesday\n");
			break;
		case 3:
			printf("Wednesday\n");
			break;
		case 4:
			printf("Thursday\n");
			break;
		case 5:
			printf("Thursday\n");
			break;
		case 6:
			printf("Thursday\n");
			break;
		case 7:
			printf("Thursday\n");
			break;
		default:
			printf("illegal day number\n");
			break;
	}
}

int main(void)
{
	int i=0;
	printf("Input your number:");
	scanf("%d",&i);
	print_day(i);
	return 0;
}
